<br/>

<h2>List of Pages</h2>

<br/>

<div align="left">
	<a href="<?php echo site_url('admin/addNewPage'); ?>">Add New Page</a>
</div>

<ul>
	<?php
		foreach($pages as $page)
		{
			echo '<li>'.$page['name'].'&nbsp;<a href="'.site_url('admin/editPage/'.$page['id']).'">Edit</a></li>';
		}
	?>	
</ul>
